home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / AIIGSIncludes / E16.MiscTool < prev    next >
Encoding:
Text File  |  1992-03-04  |  7.2 KB  |  292 lines  |  [TEXT/MPS ]

  1. ; File:  E16.MiscTool
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-92
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. badInputErr EQU $0301  ; bad input parameter
  9. noDevParamErr EQU $0302  ; no device for input parameter
  10. taskInstlErr EQU $0303  ; task already installed error
  11. noSigTaskErr EQU $0304  ; no signature in task header
  12. queueDmgdErr EQU $0305  ; queue has been damaged error
  13. taskNtFdErr EQU $0306  ; task was not found error
  14. firmTaskErr EQU $0307  ; firmware task was unsuccessful
  15. hbQueueBadErr EQU $0308  ; heartbeat queue damaged
  16. unCnctdDevErr EQU $0309  ; attempted to dispatch to unconnected device
  17. idTagNtAvlErr EQU $030B  ; ID tag not available
  18. notInList EQU $0380
  19. invalidTag EQU $0381  ; correct signature value not found in header
  20. alreadyInQueue EQU $0382
  21. badTimeVerb EQU $0390
  22. badTimeData EQU $0391
  23.  
  24. pdosUnClmdIntErr EQU $0001  ; ProDOS unclaimed interrupt error
  25. divByZeroErr EQU $0004  ; divide by zero error
  26. pdosVCBErr EQU $000A  ; ProDOS VCB unusable
  27. pdosFCBErr EQU $000B  ; ProDOS FCB unusable
  28. pdosBlk0Err EQU $000C  ; ProDOS block zero allocated illegally
  29. pdosIntShdwErr EQU $000D  ; ProDOS interrupt w/ shadowing off
  30. stupVolMntErr EQU $0100  ; can't mount system startup volume
  31. p1PrntModem EQU $0000
  32. p1LineLnth EQU $0001
  33. p1DelLine EQU $0002
  34. p1AddLine EQU $0003
  35. p1Echo EQU $0004
  36. p1Buffer EQU $0005
  37. p1Baud EQU $0006
  38. p1DtStpBits EQU $0007
  39. p1Parity EQU $0008
  40. p1DCDHndShk EQU $0009
  41. p1DSRHndShk EQU $000A
  42. p1XnfHndShk EQU $000B
  43. p2PrntModem EQU $000C
  44. p2LineLnth EQU $000D
  45. p2DelLine EQU $000E
  46. p2AddLine EQU $000F
  47. p2Echo EQU $0010
  48. p2Buffer EQU $0011
  49. p2Baud EQU $0012
  50. p2DtStpBits EQU $0013
  51. p2Parity EQU $0014
  52. p2DCDHndShk EQU $0015
  53. p2DSRHndShk EQU $0016
  54. p2XnfHndShk EQU $0017
  55. dspColMono EQU $0018
  56. dsp40or80 EQU $0019
  57. dspTxtColor EQU $001A
  58. dspBckColor EQU $001B
  59. dspBrdColor EQU $001C
  60. hrtz50or60 EQU $001D
  61. userVolume EQU $001E
  62. bellVolume EQU $001F
  63. sysSpeed EQU $0020
  64. slt1intExt EQU $0021
  65. slt2intExt EQU $0022
  66. slt3intExt EQU $0023
  67. slt4intExt EQU $0024
  68. slt5intExt EQU $0025
  69. slt6intExt EQU $0026
  70. slt7intExt EQU $0027
  71. startupSlt EQU $0028
  72. txtDspLang EQU $0029
  73. kyBdLang EQU $002A
  74. kyBdBuffer EQU $002B
  75. kyBdRepSpd EQU $002C
  76. kyBdRepDel EQU $002D
  77. dblClkTime EQU $002E
  78. flashRate EQU $002F
  79. shftCpsLCas EQU $0030
  80. fstSpDelKey EQU $0031
  81. dualSpeed EQU $0032
  82. hiMouseRes EQU $0033
  83. dateFormat EQU $0034
  84. clockFormat EQU $0035
  85. rdMinRam EQU $0036
  86. rdMaxRam EQU $0037
  87. langCount EQU $0038
  88. lang1 EQU $0039
  89. lang2 EQU $003A
  90. lang3 EQU $003B
  91. lang4 EQU $003C
  92. lang5 EQU $003D
  93. lang6 EQU $003E
  94. lang7 EQU $003F
  95. lang8 EQU $0040
  96. layoutCount EQU $0041
  97. layout1 EQU $0042
  98. layout2 EQU $0043
  99. layout3 EQU $0044
  100. layout4 EQU $0045
  101. layout5 EQU $0046
  102. layout6 EQU $0047
  103. layout7 EQU $0048
  104. layout8 EQU $0049
  105. layout9 EQU $004A
  106. layout10 EQU $004B
  107. layout11 EQU $004C
  108. layout12 EQU $004D
  109. layout13 EQU $004E
  110. layout14 EQU $004F
  111. layout15 EQU $0050
  112. layout16 EQU $0051
  113. aTalkNodeNo EQU $0080
  114. irqIntFlag EQU $0000
  115. irqDataReg EQU $0001
  116. irqSerial1 EQU $0002
  117. irqSerial2 EQU $0003
  118. irqAplTlkHi EQU $0004
  119. tickCnt EQU $0005
  120. irqVolume EQU $0006
  121. irqActive EQU $0007
  122. irqSndData EQU $0008
  123. brkVar EQU $0009
  124. evMgrData EQU $000A
  125. mouseSlot EQU $000B
  126. mouseClamps EQU $000C
  127. absClamps EQU $000D
  128. sccIntFlag EQU $000E
  129. extVGCInt EQU $01  ; Returned by GetIRQEnable
  130. scanLineInt EQU $02  ; Returned by GetIRQEnable
  131. adbDataInt EQU $04  ; Returned by GetIRQEnable
  132. ADTBDataInt EQU $04  ; maintained for compatiblity with old interfaces
  133. oneSecInt EQU $10  ; Returned by GetIRQEnable
  134. quartSecInt EQU $20  ; Returned by GetIRQEnable
  135. vbInt EQU $40  ; Returned by GetIRQEnable
  136. kbdInt EQU $80  ; Returned by GetIRQEnable
  137. kybdEnable EQU $0000  ; Parameter to IntSource
  138. kybdDisable EQU $0001  ; Parameter to IntSource
  139. vblEnable EQU $0002  ; Parameter to IntSource
  140. vblDisable EQU $0003  ; Parameter to IntSource
  141. qSecEnable EQU $0004  ; Parameter to IntSource
  142. qSecDisable EQU $0005  ; Parameter to IntSource
  143. oSecEnable EQU $0006  ; Parameter to IntSource
  144. oSecDisable EQU $0007  ; Parameter to IntSource
  145. adbEnable EQU $000A  ; Parameter to IntSource
  146. adbDisable EQU $000B  ; Parameter to IntSource
  147. scLnEnable EQU $000C  ; Parameter to IntSource
  148. scLnDisable EQU $000D  ; Parameter to IntSource
  149. exVCGEnable EQU $000E  ; Parameter to IntSource
  150. exVCGDisable EQU $000F  ; Parameter to IntSource
  151. mouseOff EQU $0000
  152. transparent EQU $0001
  153. transParnt EQU $0001  ; (old name)
  154. moveIntrpt EQU $0003
  155. bttnIntrpt EQU $0005
  156. bttnOrMove EQU $0007
  157. mouseOffVI EQU $0008
  158. transParntVI EQU $0009  ; (old name)
  159. transparentVI EQU $0009
  160. moveIntrptVI EQU $000B
  161. bttnIntrptVI EQU $000D
  162. bttnOrMoveVI EQU $000F
  163. toolLoc1 EQU $0000
  164. toolLoc2 EQU $0001
  165. usrTLoc1 EQU $0002
  166. usrTLoc2 EQU $0003
  167. intrptMgr EQU $0004
  168. copMgr EQU $0005
  169. abortMgr EQU $0006
  170. _sysFailMgr EQU $0007
  171. aTalkIntHnd EQU $0008
  172. sccIntHnd EQU $0009
  173. scLnIntHnd EQU $000A
  174. sndIntHnd EQU $000B
  175. vblIntHnd EQU $000C
  176. mouseIntHnd EQU $000D
  177. qSecIntHnd EQU $000E
  178. kybdIntHnd EQU $000F
  179. adbRBIHnd EQU $0010
  180. adbSRQHnd EQU $0011
  181. deskAccHnd EQU $0012
  182. flshBufHnd EQU $0013
  183. kybdMicHnd EQU $0014
  184. oneSecHnd EQU $0015
  185. extVCGHnd EQU $0016
  186. otherIntHnd EQU $0017
  187. crsrUpdtHnd EQU $0018
  188. incBsyFlag EQU $0019
  189. decBsyFlag EQU $001A
  190. bellVector EQU $001B
  191. breakVector EQU $001C
  192. traceVector EQU $001D
  193. stepVector EQU $001E
  194. ctlYVector EQU $0028
  195. proDOSVector EQU $002A
  196. proDOSVctr EQU $002A  ; for backward compatibility
  197. osVector EQU $002B
  198. msgPtrVector EQU $002C
  199. msgPtrVctr EQU $002C  ; for backward compatibility
  200. memMoverVector EQU $0080
  201. sysSpeedVector EQU $0081
  202. slotArbiterVector EQU $0082
  203. hiInterruptVector EQU $0086
  204. midiInterruptVector EQU $0087
  205. ; offset constants for ClampRec
  206. oyMaxClamp EQU 0
  207. oyMinClamp EQU 2
  208. oxMaxClamp EQU 4
  209. oxMinClamp EQU 6
  210. ; offset constants for FWRec
  211. oyRegExit EQU 0
  212. oxRegExit EQU 2
  213. oaRegExit EQU 4
  214. ostatus EQU 6
  215. ; offset constants for MouseRec
  216. omouseMode EQU 0
  217. omouseStatus EQU 1
  218. oyPos EQU 2
  219. oxPos EQU 4
  220. ; offset constants for InterruptStateRec
  221. oirq_A EQU 0
  222. oirq_X EQU 2
  223. oirq_Y EQU 4
  224. oirq_S EQU 6
  225. oirq_D EQU 8
  226. oirq_P EQU 10
  227. oirq_DB EQU 11
  228. oirq_e EQU 12
  229. oirq_K EQU 13
  230. oirq_PC EQU 14
  231. oirq_state EQU 16
  232. oirq_shadow EQU 17
  233. oirq_mslot EQU 19
  234. ; constants for ConvSeconds verb value
  235. secs2TimeRec EQU 0
  236. TimeRec2Secs EQU 1
  237. secs2Text EQU 2
  238. secs2ProDOS EQU 4
  239. ProDOS2Secs EQU 5
  240. getCurrTimeInSecs EQU 6
  241. setCurrTimeInSecs EQU 7
  242. ProDOS2TimeRec EQU 8    ;fixed 26-Feb-92 DAL
  243. TimeRec2ProDOS EQU 9    ;fixed 26-Feb-92 DAL
  244. secs2HCard EQU 10
  245. HCard2Secs EQU 11
  246.  
  247. ; SysBeep2 constants
  248. sbSilence EQU $8000
  249. sbDefer EQU $4000
  250. sbAlertStage0 EQU $0000
  251. sbAlertStage1 EQU $0001
  252. sbAlertStage2 EQU $0002
  253. sbAlertStage3 EQU $0003
  254. sbOutsideWindow EQU $0004
  255. sbOperationComplete EQU $0005
  256. sbBadKeypress EQU $0008
  257. sbBadInputValue EQU $0009
  258. sbInputFieldFull EQU $000A
  259. sbOperationImpossible EQU $000B
  260. sbOperationFailed EQU $000C
  261. sbGSOStoP8 EQU $0011
  262. sbP8toGSOS EQU $0012
  263. sbDiskInserted EQU $0013
  264. sbDiskEjected EQU $0014
  265. sbSystemShutdown EQU $0015
  266. sbDiskRequest EQU $0030
  267. sbSystemStartup EQU $0031
  268. sbSystemRestart EQU $0032
  269. sbBadDisk EQU $0033
  270. sbKeyClick EQU $0034
  271. sbReturnKey EQU $0035
  272. sbSpaceKey EQU $0036
  273. sbWhooshOpen EQU $0040
  274. sbWhooshClosed EQU $0041
  275. sbFillTrash EQU $0042
  276. sbEmptyTrash EQU $0043
  277. sbAlertWindow EQU $0050
  278. sbAlertStop EQU $0052
  279. sbAlertNote EQU $0053
  280. sbAlertCaution EQU $0054
  281. sbScreenBlanking EQU $0060
  282. sbScreenUnblanking EQU $0061
  283. sbYouHaveMail EQU $0100
  284. sbErrorWindowBase EQU $0E00 ;uses $0Exx
  285. sbErrorWindowOther EQU $0EFF
  286.  
  287. ; StringToText constants
  288. fAllowMouseText EQU $8000
  289. fAllowLongerSubs EQU $4000
  290. fForceLanguage EQU $2000
  291. fPassThru EQU $1000
  292.